﻿using System;

namespace JenkinsView
{
    public class Model
    {
        protected IObserver _view;
        public void SetObserver(IObserver observer)
        {
            _view = observer;
        }

        public void Notify(int reason, object arg)
        {
            _view.Update(reason, arg);
        }
    }
}
